<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

Route::get('/', function () {
<<<<<<< HEAD
     // return view('welcome');
	// return 'aaaa';
   
});
// 后天模板控制器
Route::get('/admin','admin\AdminController@index');
// 文章管理模板控制器
Route::controller('/admin/artical','admin\ArticalController');
// 文章分类管理模板控制器
Route::controller('/admin/aclass','admin\AclassController');
// 单页管理模板控制器
Route::controller('/admin/page','admin\PageController');
// 基本信息管理模板控制器
Route::controller('/admin/setting','admin\SettingController');
// 订单管理模板控制器
Route::controller('/admin/order','admin\OrderController');

// 前台模板控制器
Route::get('/home','home\HomeController@index');
// 购物车管理模板控制器
Route::controller('/home/cart','home\CartController');
// 订单管理模板控制器
Route::controller('/home/order','home\OrderController');

=======
    return view('welcome');
});
>>>>>>> b14c3eec8cbc555a7a59edc70867eb9977908876
